org 07c00h
	mov ax, cs
	mov ds, ax
	mov es, ax
	call DispStr;
	jmp $

DispStr:
	mov ax, BootMessage;
	mov bp, ax;		//ES:BP = addr. of string.
	mov cx, 16;
	mov ax, 01301h;	// AH = 13, AL = 01H
	mov bx, 000ch;	// BH = 0, BL = 0CH
	mov dl, 0;
	int 10h;
	ret

BootMessage:
	db "Hello, os world!";

times 510 - ($ - $$) db 0
dw	0xaa55;
